<html>
<head><meta charset="utf-8"><title>library for diagnostics · t-compiler/wg-diagnostics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/index.html">t-compiler/wg-diagnostics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html">library for diagnostics</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="173562303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173562303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173562303">(Aug 19 2019 at 17:29)</a>:</h4>
<p>So did we ever start the effort to extract diagnostic handling into a library? (cc <span class="user-mention" data-user-id="119031">@Esteban Küber</span>) If so, what is the library name?</p>



<a name="173562700"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173562700" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173562700">(Aug 19 2019 at 17:34)</a>:</h4>
<p><a href="https://github.com/rust-lang/annotate-snippets-rs" target="_blank" title="https://github.com/rust-lang/annotate-snippets-rs">https://github.com/rust-lang/annotate-snippets-rs</a> maybe?</p>



<a name="173562716"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173562716" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173562716">(Aug 19 2019 at 17:35)</a>:</h4>
<p>But there may be more than that, not sure. <span class="user-mention" data-user-id="116009">@nikomatsakis</span> ^</p>



<a name="173562740"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173562740" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173562740">(Aug 19 2019 at 17:35)</a>:</h4>
<p>thanks :)</p>



<a name="173564715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173564715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173564715">(Aug 19 2019 at 17:59)</a>:</h4>
<p>That's it but work on it has been sparse, other than getting it into the repo</p>



<a name="173653655"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/173653655" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#173653655">(Aug 20 2019 at 12:45)</a>:</h4>
<p>the current integration of the library with rust is living here: <a href="https://github.com/rust-lang/rust/blob/master/src/librustc_errors/annotate_snippet_emitter_writer.rs" target="_blank" title="https://github.com/rust-lang/rust/blob/master/src/librustc_errors/annotate_snippet_emitter_writer.rs">https://github.com/rust-lang/rust/blob/master/src/librustc_errors/annotate_snippet_emitter_writer.rs</a><br>
with some (but not all) remaining issues here: <a href="https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+annotate-snippet+emitter" target="_blank" title="https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+annotate-snippet+emitter">https://github.com/rust-lang/rust/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+annotate-snippet+emitter</a></p>



<a name="182160639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/182160639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#182160639">(Nov 29 2019 at 08:52)</a>:</h4>
<p>hey <span class="user-mention" data-user-id="124288">@oli</span> In <a href="#narrow/stream/131828-t-compiler/topic/weekly.20meeting.202019-11-28.20.2354818/near/182118526" title="#narrow/stream/131828-t-compiler/topic/weekly.20meeting.202019-11-28.20.2354818/near/182118526">https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/weekly.20meeting.202019-11-28.20.2354818/near/182118526</a> you mentioned that there's new work happening around annotate-snippet. Where is that happening? <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span></p>



<a name="182160676"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/182160676" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#182160676">(Nov 29 2019 at 08:53)</a>:</h4>
<p>I was hoping one of the two draft PRs would get merged at some point, because that would make integration with rustc diagnostics much easier</p>



<a name="182164658"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/182164658" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#182164658">(Nov 29 2019 at 09:58)</a>:</h4>
<p>Yea, I think I misread some notification dates in my emails. Last month was the last update. We should get these PRs merged, I'm not sure what work still.needs to be done</p>



<a name="182167144"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/182167144" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#182167144">(Nov 29 2019 at 10:35)</a>:</h4>
<p>I'll try and write up a status update later today in <a href="https://github.com/rust-lang/rust/issues/59346" target="_blank" title="https://github.com/rust-lang/rust/issues/59346">https://github.com/rust-lang/rust/issues/59346</a></p>



<a name="182200389"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/library%20for%20diagnostics/near/182200389" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/library.20for.20diagnostics.html#182200389">(Nov 29 2019 at 19:45)</a>:</h4>
<p>Posted the status update here: <a href="https://github.com/rust-lang/rust/issues/59346#issuecomment-559870887" target="_blank" title="https://github.com/rust-lang/rust/issues/59346#issuecomment-559870887">https://github.com/rust-lang/rust/issues/59346#issuecomment-559870887</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>